home *** CD-ROM | disk | FTP | other *** search
/ Aminet 41 / Aminet 41 (2001)(Schatztruhe)[!][Feb 2001].iso / Aminet / util / sys / 68040Lib.lha / 68040Lib / Include / mmu / descriptor.i < prev    next >
Text File  |  2000-04-02  |  2KB  |  60 lines

  1.         IFND MMU_DESCRIPTOR_I
  2. MMU_DESCRIPTOR_I   SET     1
  3. ;*************************************************************************
  4. ;** mmu.library                                                         **
  5. ;**                                                                     **
  6. ;** a system library for arbitration and control of the MC68K MMUs      **
  7. ;**                                                                     **
  8. ;** © 1998 THOR-Software, Thomas Richter                                **
  9. ;** No commercial use, reassembly, modification without prior, written  **
  10. ;** permission of the authors.                                          **
  11. ;** Including this library in any commercial software REQUIRES a        **
  12. ;** written permission and the payment of a small fee.                  **
  13. ;**                                                                     **
  14. ;**---------------------------------------------------------------------**
  15. ;** Definition of the abstract data descriptor                **
  16. ;**                                    **
  17. ;** $VER: 40.50 (31.10.99)                        **
  18. ;*************************************************************************
  19.  
  20.     IFND EXEC_TYPES_I
  21.     INCLUDE "exec/types.i"
  22.     ENDC ; EXEC_TYPES_I
  23.  
  24. ;**
  25. ;** This structure describes a MMU descriptor abstractly. This structure
  26. ;** must be passed to GetIndirect, and will be filled in by the library
  27. ;** there is currently no other use for this structure.
  28. ;** Especially, do not interpret undocumented fields.
  29. ;**
  30.  
  31.     STRUCTURE AbstractDescriptor,0
  32.         ULONG        atd_Pointer        ;* logical address *
  33.         ULONG        atd_Properties        ;* MMU properties *
  34.  
  35. ;** 
  36. ;** The next fields are filled in, but currently intentionally undocumented.
  37. ;** However, they MUST be allocated.
  38. ;**
  39.  
  40.         UWORD        atd_LowerLimit
  41.         UWORD        atd_UpperLimit
  42.         UBYTE        atd_ThisType
  43.         UBYTE        atd_NextType
  44.         UWORD        atd_reserved
  45.     LABEL atd_SIZE
  46.  
  47. ;**
  48. ;** About the properties: Only a minor subset is supported here.
  49. ;** Check the documenation mmu.doc for details what you may expect here
  50. ;** and what not.
  51. ;**
  52.  
  53. ;**
  54. ;** This is returned if BuildIndirect() failed:
  55. ;**
  56.  
  57. BAD_DESCRIPTOR    EQU    3
  58.  
  59.     ENDC        ;MMU_DESCRIPTOR_I
  60.